//
//  UITextField+InitMethod.m
//  UI09_ContactBookSample
//
//  Created by lizhongren on 15/9/27.
//  Copyright (c) 2015年 lizhongren. All rights reserved.
//

#import "UITextField+InitMethod.h"

@implementation UITextField (InitMethod)

+ (instancetype)textFieldWithFrame:(CGRect)frame placeHolder:(NSString *)placeHolder
{
    UITextField *textField = [[UITextField alloc] initWithFrame:frame];
    textField.borderStyle = UITextBorderStyleRoundedRect;
    textField.placeholder = placeHolder;
    
    return [textField autorelease];
    
}









@end
